	<div id="middle">
		<div id="banner">
			<div id="banner2">
				<?php echo fetch('slide',array('type'=>service_type::SLIDE));?>
			</div>
		</div>
		<div id="index_left">
			<div id="art">
				<div id="about">
					<div class="about">
						<span class="title"><?php echo '关于我们';?></span>
						<span class="more"><a href=""></a></span>
					</div>
					<div id="about_intro">
						<img src="<?php echo $companyImg['src'];?>" />
						<div><?php echo mb_substr($company['description'],0,100,'utf8');?></div>
					</div>
				</div>
				<div id="new">
					<div id="new_title">
						<?php foreach($newsCate as $item):?>
							<a href="javascript:void(0);" id="cate<?php echo $item['id'];?>" class="news_hide"><?php echo $item['title'];?></a>
						<?php endforeach;?>
					</div>
					<?php foreach($newsCate as $item):
						$img = service_category::getImgByID($item['id']);
					?>
						<div id="new_list1" class="cate<?php echo $item['id'];?> new_list">
							<div class="new_img">
							<?php if(!empty($img)):?>
								<img src="<?php echo $img['src'];?>" align="left" />
							<?php endif;?>
							<?php echo mb_substr($item['description'],0,75,'utf8');?>
							</div>
							<div class="index_news">
							<?php $news = service_category::getNewsByCateID($item['id'],3);?>
								<ul>
								<?php foreach($news as $item):?>
									<li><a href="<?php echo service_uri::getNewsUri($item['id']);?>" ><?php echo $item['title'];?></a></li>
								<?php endforeach;?>
								</ul>	
							</div>
						</div>
					<?php endforeach;?>
				</div>
				<div id="case">
					<div id="case_title">
						<span class="title"><?php echo '图片展示';?></span>
						<span class="more"><a href=""></a></span>
					</div>
					<div id="pic">
							<div id="inpic">
								<div id="pic1">
									<?php foreach($images as $item):?>
									<img src="<?php echo $item['src'];?>" border="0" />
									<?php endforeach;?>
								</div>
								<div id="pic2"></div>
							</div>
					</div>
				</div>
			</div>
		</div>
		<div id="index_right">
			<div id="range">
				<div id="range_title"><span class="news_show"><?php echo '业务范围';?></span></div>
				<div id="range_con">
					<?php echo $company['business'];?>	
				</div>
			</div>
			<div id="contact">
				<div id="con_title"><span class="title"><?php echo '联系我们';?></span></div>
				<table>
					<tr><td width="40">联系人:</td><td><?php echo $company['persion'];?></td></tr>
					<tr><td>电话:</td><td><?php echo $company['tel'];?></td></tr>
					<tr><td>地址:</td><td><?php echo $company['address'];?></td></tr>
					<tr><td>QQ:</td><td><?php echo $company['qq'];?></td></tr>
					<tr><td>Email</td><td><?php echo $company['email'];?></td></tr>
				</table>
			</div>
		</div>
	</div>
<script type="text/javascript">
var speed=10;
var tab=document.getElementById("pic");
var tab1=document.getElementById("pic1");
var tab2=document.getElementById("pic2");
tab2.innerHTML=tab1.innerHTML;
function Marquee(){
	if(tab2.offsetWidth-tab.scrollLeft<=0)
		tab.scrollLeft-=tab1.offsetWidth
	else{
		tab.scrollLeft++;
	}
}
var MyMar=setInterval(Marquee,speed);
tab.onmouseover=function() {clearInterval(MyMar)};
tab.onmouseout=function() {MyMar=setInterval(Marquee,speed)};
$(document).ready(function(){
	$("#about_intro img").LoadImage(true,300,92);
	$("#pic img").LoadImage(true,0,210);
});
</script>

